<%@ Control Language="C#" AutoEventWireup="true" CodeFile="usrNationality.ascx.cs" Inherits="controls_usrNationality" %>
<asp:DropDownList ID="ddlNationality" runat="server" 
    ToolTip="Choose Nationality">
    <asp:ListItem Value="-1">Select</asp:ListItem>

</asp:DropDownList>


<asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvNationality" runat="server" 
    ControlToValidate="ddlNationality" ErrorMessage="" Text=""
    InitialValue="-1"></asp:RequiredFieldValidator>



<script type="text/javascript">
<!--
//function ClientValidate(source, arguments)
//   {
//        if (arguments.Value == -1 ){
//            arguments.IsValid = false;
//        } else {
//            arguments.IsValid = true;
//        }
//   }
    //-->
</script>
